package com.itheima.service.mongo;

import cn.hutool.db.PageResult;
import com.itheima.domain.mongo.Comment;
import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;

// 视频模块
public interface VideoService {

    // 推荐视频查询
    PageBeanVo findRecommendVideoByPage(Long userId, Integer pageNum, Integer pageSize);

    // 发布视频
    void publishVideo(Video video);


/*    Integer saveComment(Comment comment);*/

/*    Integer deleteComment(Comment comment);*/

    PageBeanVo selectVideoComments(String videoId, Integer page, Integer pagesize);
}
